const getters = {
  // 当前语言
  lang: (state) => state.persistedData.lang,
  // 是否是手机端
  isMobile: (state) => state.globalData.isMobile,
  // 是否是iframe访问
  isIframe: (state) => state.globalData.isIframe,
  // 系统配置
  basicConfig: (state) => state.globalData.basicConfig,
  returnConfig: (state) => state.globalData.returnConfig,
  // 腾讯验证码
  captcha: (state) => state.globalData.captcha,
  // 用户信息
  userInfo: (state) => state.user.userInfo,
  // 企业信息
  orgInfo: (state) => state.user.orgInfo,
  dictionary: (state) => state.user.dictionary,
  // 楼宇信息
  buildingInfo: (state) => state.user.buildingInfo,
  allBuildings: (state) => state.user.allBuildings,
  showBuildingCheck: (state) => state.user.showBuildingCheck,

  // 菜单和路由
  currentTopMenu: (state) => state.persistedData.currentTopMenu,
  currentSubMenuName: (state) => state.persistedData.currentSubMenuName,
  loadedSubMenu: (state) => state.globalData.loadedSubMenu,
  currentApp: (state) => state.persistedData.currentApp,
  menuList: (state) => state.user.menuList,
  menuNameList: (state) => state.user.menuNameList,
  currentAppName: (state) => state.user.currentAppName,
  homePage: (state) => state.user.homePage,
  hideMenu: (state) => state.user.hideMenu,
  userMenu: (state) => state.user.userMenu,
  appMenu: (state) => state.user.appMenu,
  settingMenu: (state) => state.user.settingMenu,
  menuPermisson: (state) => state.user.menuPermisson,

  // 是否折叠左侧菜单
  collapsed: (state) => state.persistedData.collapsed,
  // 已加载的应用列表
  loadedApps: (state) => state.user.loadedApps,
  // 子应用容器高度
  appViewHeight: (state) => state.user.appViewHeight,
  // app共享数据
  appShareData: (state) => state.persistedData.appShareData,
  // 楼层可视化
  layerCurrentInfo: (state) => state.layer.currentInfo,
  // 未读通知消息总数
  noticeCount: (state) => state.notice.noticeCount,
  socketMessage: (state) => state.notice.socketMessage,
  messageTrigger: (state) => state.notice.messageTrigger,
  // 左侧应用菜单列表
  appList: (state) => state.user.appList,
  // 窗口大小变化
  resizeTrigger: (state) => state.user.resizeTrigger,

  departmentList: (state) => state.common.departmentList,
  departmentMember: (state) => state.common.departmentMember,
  uncheckCount: (state) => state.common.uncheckCount,
  departmentTopKey: (state) => state.common.departmentTopKey,
  buildingListInfo: (state) => state.common.buildingListInfo,
  leaseTempTags: (state) => state.common.leaseTempTags,
  printTempTags: (state) => state.common.printTempTags,
  contractAplTypeList: (state) => state.common.contractAplTypeList,
  approvalUserList: (state) => state.common.approvalUserList,
  noticePrintTags: (state) => state.common.noticePrintTags,

  // 数据可视化
  dataVFD: (state) => state.datav.currentFD,
  datavCurVillage: (state) => state.datav.currentVillage,
  datavCurBuilding: (state) => state.datav.currentBuilding,
  datavCurMenu: (state) => state.datav.currentMenu,
  weather: (state) => state.datav.weather,
  synthetical: (state) => state.datav.synthetical,
  flow: (state) => state.datav.flow,
  rentControl: (state) => state.datav.rentControl,
  centerControl: (state) => state.datav.centerControl,
  security: (state) => state.datav.security,
  dataVClearTrigger: (state) => state.datav.clearTrigger,
  dataVPreview: (state) => state.datav.preview,
  dataVPreviewAlert: (state) => state.datav.previewAlert,
  dataVMobile: (state) => state.datav.isMobile,
  syntheticalCustom: (state) => state.datav.syntheticalCustom,
  isSyntheticalCustom: (state) => state.datav.isSyntheticalCustom,

  // village
  defaultHousingStatus: (state) => state.building.defaultHousingStatus,

  // contract
  searchSettingList: (state) => state.search.searchSettingList,
  filterOptions: (state) => state.search.filterOptions,
  billInitOpt: (state) => state.search.billInitOpt,
  billSettingList: (state) => state.search.billSettingList,
  contractStatusColor: (state) => state.search.contractStatusColor,
  checkedRoomList: (state) => state.contract.checkedRoomList,
  currentBuildId: (state) => state.contract.currentBuildId,
  contractInitOpt: (state) => state.contract.contractInitOpt,
  clauseList: (state) => state.contract.clauseList,
  addFormData: (state) => state.contract.addFormData,
  editContractId: (state) => state.contract.editContractId,
  validateTrigger: (state) => state.contract.validateTrigger,
  currentStep: (state) => state.contract.currentStep,
  clauseTabCount: (state) => state.contract.clauseTabCount,
  clauseContentList: (state) => state.contract.clauseContentList,
  contractDateRange: (state) => state.contract.contractDateRange,
  addPageLoading: (state) => state.contract.addPageLoading,
  taxRateMap: (state) => state.contract.taxRateMap,
  contractDetail: (state) => state.contract.contractDetail,
  contractRetreatAbstract: (state) => state.contract.contractRetreatAbstract,
  latestRemark: (state) => state.contract.latestRemark,
  approvalListInit: (state) => state.contract.approvalListInit,
  billMatchTurnoverInit: (state) => state.bill.billMatchTurnoverInit,
  billMatchAccountDetail: (state) => state.bill.billMatchAccountDetail,
  lastActiveTab: (state) => state.contract.lastActiveTab,
  contractType: (state) => state.contract.contractType, //合同类型
  defaultClause: (state) => state.contract.defaultClause,
  initClauseType: (state) => state.contract.initClauseType,
  clearRentDetail: (state) => state.contract.clearRentDetail, //新建合同：是否清空租金明细
  multiBuild: (state) => state.contract.multiBuild,
  currentContractTpl: (state) => state.contract.currentContractTpl,
  tplContent: (state) => state.contract.tplContent,
  refreshTreeTrigger: (state) => state.contract.refreshTreeTrigger,
  refreshTreeParams: (state) => state.contract.refreshTreeParams,
  contractListUpdate: (state) => state.contract.contractListUpdate,
  contractListInit: (state) => state.contract.contractListInit,
  draftContractListInit: (state) => state.contract.draftContractListInit,
  contractAddDraft:  (state) => state.contract.contractAddDraft,
  useDraft:  (state) => state.contract.useDraft,

  // bill
  incomeBillsBeforeDate: (state) => state.persistedData.incomeBillsBeforeDate,
  outcomeBillsBeforeDate: (state) => state.persistedData.outcomeBillsBeforeDate,
  matchBillsShowOtherOwner: (state) => state.persistedData.matchBillsShowOtherOwner,
  matchTurnoverShowOtherOwner: (state) => state.persistedData.matchTurnoverShowOtherOwner,

  // 当前选中的房间信息
  currentRoomInfo: (state) => state.room.currentRoomInfo,
  loginPic: (state) => state.globalData.loginPic,
  tableConfig: (state) => state.common.tableConfig,
  microSendMessage: (state) => state.globalData.microSendMessage,

  //iframe传递的数据
  showBillDetailDrawer: (state) => state.iframeMessage.showBillDetailDrawer,
  bill_id: (state) => state.iframeMessage.bill_id,
  showAddTurnover: (state) => state.iframeMessage.showAddTurnover,
  addTurnoverInfo: (state) => state.iframeMessage.addTurnoverInfo,
  // SET_SHOW_TYRNOVER_DRAWER
  showTurnoverDrawer: (state) => state.iframeMessage.showTurnoverDrawer,
  bill_stream_id: (state) => state.iframeMessage.bill_stream_id,
  addTurnoverOwnerId: (state) => state.iframeMessage.addTurnoverOwnerId,
  addTurnoverVisible: (state) => state.iframeMessage.addTurnoverVisible,
  customSideMenu: (state) => state.globalData.customSideMenu,
  customCompany: (state) => state.globalData.customCompany,
  iframeMenus: (state) => state.user.iframeMenus,
  showMaxContent: (state) => state.globalData.showMaxContent,
  clueConfig: (state) => state.business.clueConfig,
  customConfig: (state) => state.business.customConfig,
  mainAppInfo: (state) => state.user.mainAppInfo,
  paneCheckedRoom: (state) => state.contract.paneCheckedRoom,
};

export default getters;
